<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="__PUBLIC__/css/pintuer.css">
<link rel="stylesheet" href="__PUBLIC__/css/admin.css">
<script src="__PUBLIC__/js/jquery.js"></script>
<script src="__PUBLIC__/js/pintuer.js"></script>
</head>
<body>
<p class="button bg-blue margin-left" target="right" style="float:right">当前平台共有积分单元：{$all}</p>
<div class="panel admin-panel">
  <div class="panel-head"><strong class="icon-reorder">积分单元变更记录</strong></div>
  <div class="padding border-bottom">
  </div>
  <table class="table table-hover text-center">
    <tr>
        <th width="15%" style="text-align:left; padding-left:20px;">编号</th>
        <th width="15%">姓名</th>
        <th width="15%">电话</th>
        <th width="15%">当前积分单元</th>
        <th width="15%">时间</th>
      </tr>
      <volist name="list" id="vo" key="k">
        <tr>
            <td style="text-align:left; padding-left:20px;">
                {$k}
            </td>
			<td>
				<?php						
					$mysql_server_name='127.0.0.1'; //改成自己的mysql数据库服务器
					 
					$mysql_username='root'; //改成自己的mysql数据库用户名
					 
					$mysql_password='cdzx123321'; //改成自己的mysql数据库密码
					 
					$mysql_database='cdzx'; //改成自己的mysql数据库名

					$conn=mysql_connect($mysql_server_name,$mysql_username,$mysql_password) or die("数据库链接错误") ; //连接数据库
					 
					mysql_query("set names 'utf8'"); //数据库输出编码 
					 
					mysql_select_db($mysql_database); //打开数据库
					$sql ="select * from user where user_Id = ".$vo['user_id']; //SQL语句
					$result = mysql_query($sql,$conn); //查询
					$row = mysql_fetch_array($result);
					echo $row['name'];
				?>
            </td>
            <td>
            	<?php						
					$mysql_server_name='127.0.0.1'; //改成自己的mysql数据库服务器
					 
					$mysql_username='root'; //改成自己的mysql数据库用户名
					 
					$mysql_password='cdzx123321'; //改成自己的mysql数据库密码
					 
					$mysql_database='cdzx'; //改成自己的mysql数据库名

					$conn=mysql_connect($mysql_server_name,$mysql_username,$mysql_password) or die("数据库链接错误") ; //连接数据库
					 
					mysql_query("set names 'utf8'"); //数据库输出编码 
					 
					mysql_select_db($mysql_database); //打开数据库
					$sql ="select * from user where user_Id = ".$vo['user_id']; //SQL语句
					$result = mysql_query($sql,$conn); //查询
					$row = mysql_fetch_array($result);
					echo $row['phone'];
				?>
            </td>
            <td>{$vo.now_unit}</td>
            <td>{$vo.shijian}</td>
          </tr>
  </volist>
         
      <tr>
        <td colspan="8"><div class="pagelist"> {$page} </div></td>
      </tr>
    
  </table>
</div>


</body>
</html>